package com.example.juyuanapp.bean;

import android.content.Context;

import java.util.List;

public class BookBean {

    /**
     * msg : 成功
     * data : [{"description":"烤鸭烤鸭烤鸭烤鸭烤鸭","icon":"/images/1.png","id":1,"label":"烤鸭烤鸭烤鸭","name":"烤鸭","price":88.8},{"description":"回锅肉回锅肉回锅肉回锅肉回锅肉回锅肉回锅肉回锅肉","icon":"/images/2.png","id":2,"label":"回锅肉回锅肉回锅肉","name":"回锅肉","price":12.8},{"description":"茄子茄子茄子茄子茄子茄子茄子","icon":"/images/3.png","id":3,"label":"茄子茄子茄子茄子","name":"茄子","price":20},{"description":"宫保鸡丁宫保鸡丁宫保鸡丁","icon":"/images/4.png","id":4,"label":"宫保鸡丁宫保鸡丁宫保鸡丁","name":"宫保鸡丁宫保鸡丁","price":34.5}]
     * success : true
     */

    private String msg;
    private boolean success;
    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }


    public static class DataBean {
        /**
         * description : 烤鸭烤鸭烤鸭烤鸭烤鸭
         * icon : /images/1.png
         * id : 1
         * label : 烤鸭烤鸭烤鸭
         * name : 烤鸭
         * price : 88.8
         */

        private String description;
        private String icon;
        private int id;
        private String label;
        private String name;
        private double price;

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getLabel() {
            return label;
        }

        public void setLabel(String label) {
            this.label = label;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }
    }
}
